// 文件路径示例：src/main/java/com/example/userservice/request/AssignRoleRequest.java
package com.example.userservice.dto;

import com.example.userservice.entity.Role;

public class AssignRoleRequest {
    private Long userId;
    private Long roleId;

    public AssignRoleRequest(Long id, Role role) {
    }

    // Getters and Setters
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
     